package com.example.casper.Experiment2024.data;

import java.io.Serializable;

public class TravelRecord implements Serializable {
    private String position_name;
    private String description;
    private String time;
    private double latitude;
    private double longitude;
    private String imagePath;

    public TravelRecord(String position_name, String description, String imagePath, String time,double latitude,double longitude) {
        this.position_name = position_name;
        this.description = description;
        this.imagePath = imagePath;
        this.time = time;
        this.latitude = latitude;
        this.longitude = longitude;
    }



    // Getters and Setters
    public String getTime() {
        return time;
    }

    public String getPositionName() {
        return position_name;
    }

    public void setPositionName(String position_name) {
        this.position_name = position_name;
    }
    public String getDescription() {
        return description; // 新增获取描述的方法
    }
    public void setDescription(String description) {
        this.description=description;
    }

    public String getImagePath() {
        return imagePath;
    }

    public void setImagePath(String imagePath) {
        this.imagePath = imagePath;
    }

    public double getLatitude() {
        return latitude;
    }

    public double getLongitude() {
        return longitude;
    }

    public void setLatitude(double latitude) {
        this.latitude=latitude;
    }

    public void setLongitude(double longitude) {
        this.longitude=longitude;
    }
}
